package modeller.databasedesignmodel;

import junit.framework.TestCase;
import modeller.databasedesignmodel.transaction.IProceduralStatement;
import modeller.databasedesignmodel.transaction.Transaction;
import org.junit.Before;
import org.junit.Test;

import java.util.HashSet;
import java.util.LinkedList;

/**
 * Created by IntelliJ IDEA.
 * User: Jason Ye
 * Date: 24/01/2012
 * Time: 12:22
 */
public class DatabaseDesignModelTestSuite extends TestCase {

    private DatabaseDesign t_designUnderTest;

    //private Relation t_relA;
    //private Relation t_relB;

    private Transaction t_transA;
    private Transaction t_transB;

    @Before
    public void initTestSuite() {

        t_designUnderTest = new DatabaseDesign();

        /*t_relA = new Relation();

        t_relA.setExpectedNumRows(20);
        t_relA.setExpectedRowLen(3000);

        t_relB = new Relation();
        t_relB.setExpectedNumRows(30);
        t_relB.setExpectedRowLen(4000);

*/
        t_transA.setTransactionPrevalence(20);
        LinkedList<IProceduralStatement> statementSet = new LinkedList<IProceduralStatement>();
        //ProceduralStatement
        t_transA.setProceduralStatements(statementSet);


    }

    @Test
    public void mainTest() {
        //assertNotNull(t_relA);
    }
}
